package com.ruoyi.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 Rooms
 * 
 * @author ruoyi
 * @date 2020-05-23
 */
@TableName(value = "Rooms")
public class Rooms extends Object
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String title;

    /** 主持人ID */
    @Excel(name = "主持人ID")
    private Long userid;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String username;

    /** 用户昵称 */
    @Excel(name = "厅类型")
    private String type;


    /** 用户数 */
    @Excel(name = "用户数")
    private Long count;

    @Excel(name = "创建时间")
    @TableField(value = "createTime")
    private Long createTime;

    /** 第三方房间标识 */
    @Excel(name = "第三方房间标识")
    private String token;

    @Excel(name = "厅图标")
    private String thumb;

    /** 房间是否正常开放 */
    @Excel(name = "房间是否正常开放")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("count", getCount())
            .append("token", getToken())
            .append("status", getStatus())
            .toString();
    }
}
